import Vue from 'vue';

const files = require.context('./', true, /[^index]\.js$/);
files.keys().forEach((key) => {
  let obj = files(key).default;
  let keyObj = Object.keys(obj)[0];
  let value = Object.values(obj)[0];
  Vue.filter(keyObj, value);
});
